package me.zhengjie.modules.weixin.message.reply;


import me.zhengjie.modules.weixin.enums.WeChatMsgTypeEnum;
import org.apache.commons.lang3.StringUtils;

/**
 * 被动回复文本消息
 */
public class ReplyTextMessage extends AbstractReplyMessage {

    public ReplyTextMessage() {
        super();
        setMsgType(WeChatMsgTypeEnum.text.name());
    }

    public ReplyTextMessage(String content) {
        this();
        this.Content = content;
    }

    private String Content;

    public String getContent() {
        return Content;
    }

    public void setContent(String content) {
        this.Content = content;
    }

    @Override
    public boolean isValidReply() {
        return StringUtils.isNotBlank(Content);
    }
}
